flatland space stations hackerrank python